package lab02.test13;

public class Gymnastics extends ComputerAverage{

    //去掉最高分，最低分，求平均分。
    @Override
    double average() {
        double sum=0;

        for (int i=1;i<=3;i++){

            sum += scores[i];

        }

        return sum/3;
    }
}
